package com.gkoudai.open.platform.entry;

import com.fasterxml.jackson.annotation.JsonAlias;
import lombok.Data;

import java.io.Serializable;

/**
 * @author wangqi
 * @date 2025-02-20 10:38
 */
@Data
public class Quote implements Serializable {
    //品种代码
    @JsonAlias("code")private String code;
    //报价品种中文名
    @JsonAlias("name")private String name;
    //最新价
    @JsonAlias("nowPrice")private String nowPrice;
    //报价时间
    @JsonAlias("time")private String time;
    //涨跌额
    @JsonAlias("margin")private String margin;
    //涨跌幅
    @JsonAlias("mp")private String mp;
    //总成交量
    @JsonAlias("dealVol")private String dealVol;
    //5日涨跌幅
    @JsonAlias("latestFiveDayMp")private String latestFiveDayMp;
    //买入价
    @JsonAlias("buy")private String buy;
    //卖出价
    @JsonAlias("sell")private String sell;
    //当日开盘价
    @JsonAlias("open")private String open;
    //昨收价
    @JsonAlias("lastClose")private String lastClose;
    //昨结价
    @JsonAlias("settlementPrice")private String settlementPrice;
    //当日最高价
    @JsonAlias("top")private String top;
    //当日最低价
    @JsonAlias("low")private String low;
    //涨停价
    @JsonAlias("upPrice")private String upPrice;
    //跌停价
    @JsonAlias("downPrice")private String downPrice;
    //点差
    @JsonAlias("spread")private String spread;
    //振幅
    @JsonAlias("incRange")private String incRange;
    //1交易中 2 休市 3 集合竞价
    @JsonAlias("tradeStatus")private String tradeStatus;
}
